package com.lifesea.dao.mybatis;

import com.lifesea.model.MedReferralFeeCompensation;
import com.lifesea.model.MedReferralFeeCompensationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MedReferralFeeCompensationMapper {
    int countByExample(MedReferralFeeCompensationExample example);

    int deleteByExample(MedReferralFeeCompensationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MedReferralFeeCompensation record);

    int insertSelective(MedReferralFeeCompensation record);

    List<MedReferralFeeCompensation> selectByExample(MedReferralFeeCompensationExample example);

    MedReferralFeeCompensation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MedReferralFeeCompensation record, @Param("example") MedReferralFeeCompensationExample example);

    int updateByExample(@Param("record") MedReferralFeeCompensation record, @Param("example") MedReferralFeeCompensationExample example);

    int updateByPrimaryKeySelective(MedReferralFeeCompensation record);

    int updateByPrimaryKey(MedReferralFeeCompensation record);
}